package com.zhou.bjgl.bjgl.business_web.service;

import com.zhou.bjgl.bjgl.business_web.entity.BTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.bjgl.bjgl.req.b_teacher.BTeacherQueryReq;
import com.zhou.bjgl.bjgl.resp.teacher.BTeacherResp;
import com.zhou.bjgl.bjgl.resp.PageResp;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  教师服务类
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
public interface BTeacherService extends IService<BTeacher> {

    @Transactional
    void add(BTeacherQueryReq req);

    PageResp<BTeacherResp> queryTea(BTeacherQueryReq req);

    void deleteTea(BTeacherQueryReq req);
}
